package com.hst.capacity.domain.model.entity.setting.franchisee;

import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "fm_order_pool_swicth")
public class OrderPoolSwicthEntity extends BaseEntity {

    @Id
    @GeneratedValue(generator = "gen_uuid")
    @GenericGenerator(name = "gen_uuid", strategy = "uuid")
    private String idOrderPoolSwicth;
    private String idFranchisee;
    private Integer moduleType;
    private Integer channel;//渠道比如飞猪21,同程顺风车11
    private Integer status;

}
